package com.java.demo.base;

public class StringDemo {
    public static void main(String[] args) {
        int code = "abccx".codePointAt(1);
        System.out.println(code);

        String str = "aabbcc";
        System.out.println(str.replace("aa", "dd"));
    }
}
